/**
 * author wen
 * cunyu
 * email wjd_13@hotmail.com
 */
package com.cunyu.service;

import com.cunyu.bean.Form;
import com.cunyu.bean.ReqData;
import com.cunyu.bean.RespData;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 账户充值消费记录
 * @author win
 * 2019/04/29-17:52
 */
@Service
public class AccountLogService extends BaseService{

    public RespData<List<Map<String, Object>>> logPage(Form form, ReqData reqData) {
        reqData.setOrder("desc");
        reqData.setSort("ctime");
        String sql = "select * from accountLog where uid = ? " ;
        return page(sql,reqData,Integer.valueOf(form.getId())) ;
    }

}
